package com.hehua.web.decorator.demo2;

public class TaxDecorator extends OrderPriceDecorator{
    @Override
    protected double calculatePrice(double basePrice) {
        double v = orderPriceCalculator.calculatePrice(basePrice);
        return v * 1.05d;
    }
}
